package com.example.gybicycle.dao;


import com.example.gybicycle.common.sql.CrudDao;
import com.example.gybicycle.entity.SysUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysUserDao extends CrudDao<SysUser>{
    public SysUser login(@Param("name") String username, @Param("password") String password);

    public SysUser getByOpenId(String openid);
    public SysUser getByTelphone(String telphone);

}
